package com.tanjun.userservice.apiservice.response.adminmenu.admin;

import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class AdminMenuRouteResponse {
    private Long menuId;
    private String name;
    private String path;
    private String component;
    private String redirect;

    private Meta meta;

    private List<AdminMenuRouteResponse> children;

    @Data
    @Builder
    public static class Meta{
        /**
         * 一个菜单是否始终显示子路由
         */
        private Boolean hidden;
        private String icon;
        private Boolean keepAlive;
        private String title;
    }
}
